package com.vates.reservas.web;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.vates.reservas.dominio.Cliente;
import com.vates.reservas.service.ClienteService;

@Controller
@RequestMapping(value = "menu")
public class MenuController {

	protected static Logger logger = Logger.getLogger("controller");

	@Autowired
	private ClienteService clienteService;

	@RequestMapping(method = RequestMethod.GET)
	public String getMenu(Model model) {
		model.addAttribute(new Cliente());
		return "menu";
	}
}